package pa2.node;

import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.Map;

import pa2.system.Peer;
import pa2.util.EqualityCompare;

public class NetworkNode<K extends EqualityCompare<K>, V, M extends Map<K,V>> 
		extends NodeDecorator<K,V,M> implements Node<K,V,M>, Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3997686777912595405L;
	private Peer[] partnerPeers;
	
	protected NetworkNode(Node<K, V, M> decoratedNode, Peer[] partnerPeers) throws RemoteException {
		super(decoratedNode);
		this.partnerPeers = partnerPeers;
	}
	
	//TODO override methods and add replication code if needed
	

}
